<%-- 
    Document   : rVerSoftware
    Created on : 6/09/2013, 12:49:36 AM
    Author     : Andres
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib uri="/struts-tags" prefix="s"%>
<table border="0" width="60%" cellpadding="0" cellspacing="0" id="product-table" name="tablaDisp">
        <tr>
                <th class="table-header-repeat line-left minwidth-1"><a>ID</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Marca</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Modelo</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Tipo</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>No.Serie</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Departamento</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Localización</a></th>
        </tr> 
        <tr>
            <td><input type="text"  class="inp-form" value="<s:property value='dd.idDisp'/>" id="idDisp" readonly=""/></td>
            <td><s:property value="dd.marca"/></td>
            <td><s:property value="dd.modelo"/></td>
            <td><s:property value="dd.tipo"/></td>
            <td><s:property value="dd.noserie"/></td>
            <td><s:property value="dd.departamento"/></td>
            <td><s:property value="dd.localizacion"/></td>
        </tr> 
 </table>
 <table border="0" cellpadding="0" cellspacing="0"  id="id-form">
        <tr>
            <th valign="top">
                   Software: 
            </th> 
            <td>
                <select id="software" name="software">
                    <option value="">[Software]</option>
                    <s:iterator value="listaSoft" status="estatus">
                        <option value="<s:property value='IdSoft'/>"><s:property value="Soft"/></option>   
                    </s:iterator>
                </select>
            </td>    
            <td>
            <div class="error-left"></div>
            <div class="error-inner" id="esoftware">Este campo es requerido.</div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="button" class="btn" value="Regresar" name="btnRegresarS" id="btnRegresarS">
                <input type="submit" class="btn" value="Agregar Software" name="btnAgregarSoftware" id="btnAgregarSoftware"/>
            </td>    
        </tr> 
 </table>        
<table border="0" width="60%" cellpadding="0" cellspacing="0" id="product-table" name="tablaSoft">
        <tr>
                <th class="table-header-repeat line-left minwidth-1"><a>Software</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Descripcion</a></th>
        </tr>
        <s:iterator value="listaSoftAdded" status="estatus">
        <tr>
            <td><s:property value="Soft"/></td>
            <td><s:property value="Descripcion"/></td> 
        </tr>    
        </s:iterator>
</table>   
